package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 学期分类
 *
 * @author flyme
 * @date 2021-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_term")
@TableAlias("term")
@ApiModel(value = "BusTerm对象", description = "学期分类")
public class BusTerm extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "termId", type = IdType.ASSIGN_ID)
    private Long termId;

    @ApiModelProperty(value = "学期名称")
    private String termName;

    @ApiModelProperty(value = "学期排序")
    private Integer termSort;

    @ApiModelProperty(value = "备注")
    private String remark;


}
